home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / scott.Z / scott / WWW / NextStep / Implementation / old / HTFTP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-07  |  692 b   |  37 lines

  1. /*            FTP access functions        HTFTP.h
  2. **            ====================
  3. */
  4.  
  5. /*    Retrieve File from Server
  6. **    -------------------------
  7. **
  8. ** On exit,
  9. **    returns        Socket number for file if good.
  10. **            <0 if bad.
  11. */
  12. #ifdef __STDC__
  13. extern int HTFTP_open_file_read(CONST char * name);
  14. #else
  15. extern int HTFTP_open_file_read();
  16. #endif
  17.  
  18. /*    Close socket opened for reading a file, and get final message
  19. **    -------------------------------------------------------------
  20. **
  21. */
  22. #ifdef __STDC__
  23. extern int HTFTP_close_file(int soc);
  24. #else
  25. extern int HTFTP_close_file();
  26. #endif
  27.  
  28.  
  29. /*    Return Host Name
  30. **    ----------------
  31. */
  32. #ifdef __STDC__
  33. extern const char * HTHostName(void);
  34. #else
  35. extern char * HTHostName();
  36. #endif
  37.